<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en">
    <meta charset="UTF-8" />
    <title></title>
</head>
<body>
<h1 th:utext="#{hello}">Hello World</h1>
<p th:utext="#{home.welcome}">Welcome to our grocery store!</p>
<table>
    <thead>
    <tr>
        <th th:text="#{msg.product.name}">Name</th>
        <th th:text="#{msg.product.price}">Price</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="prod : ${allProducts}">
        <td th:text="${prod.name}">Oranges</td>
        <td th:text="${#numbers.formatDecimal(prod.price,1,2)}">
            0.99</td>
    </tr>
    </tbody>
</table></body>
</html>
